package com.example.spring3.bank;

import java.math.BigDecimal;

/**
 * 商品信息
 */
public class Goods {
    //商品id
    private String id;
    //商品原价
    private BigDecimal oldPrice;
    //商品现价
    private BigDecimal nowPrice;
    //商品名称
    private String goodName;
    //商品单位kg
    private Double kg;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BigDecimal getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(BigDecimal oldPrice) {
        this.oldPrice = oldPrice;
    }

    public BigDecimal getNowPrice() {
        return nowPrice;
    }

    public void setNowPrice(BigDecimal nowPrice) {
        this.nowPrice = nowPrice;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public Double getKg() {
        return kg;
    }

    public void setKg(Double kg) {
        this.kg = kg;
    }
}
